package interation

// Repeat 将字符串重复指定次数, 并返回
func Repeat(character string, count int) string {
	repeated := ""

	for i := 0; i < count; i++ {
		repeated += character
	}

	return repeated
}
